﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DLL_Downloader
{
    public class Program : PowerPatcherInterop.iPlugIn
    {
        private Guid _guid;
        PowerPatcherInterop.InitInfo _info;
        public System.Windows.Controls.UserControl GetAddInUI()
        {
            return new Interface(_info);
        }

        public Guid GetGUID()
        {
            return _guid;
        }

        public void Initialize(PowerPatcherInterop.InitInfo info)
        {
            _guid = Guid.NewGuid();
            _info = info;
        }

        public string Name
        {
            get { return "DLL Downloader"; }
        }

        public void RunPlugin()
        {
            //Nothing to be "run"
        }
    }
}
